package com.sa07.config;

import java.io.File;

import org.apache.log4j.PropertyConfigurator;

import com.sa07.bean.SystemConstant;
import com.sa07.exception.ConfigInitFailedException;

/**
 * 日志初始化
 * 
 * @author Long.shangbo
 *
 * 2014-2-21 上午11:44:51
 */
public class LogConfigInit implements IConfigInit {
	
	private static final String LOG_FILE = "log_config.properties";

	@Override
	public void init() throws ConfigInitFailedException {
		PropertyConfigurator.configure(SystemConstant.CONFIG_DIR + File.separator + LOG_FILE);
	}

}
